/*
 * Copyright (C) 2020-present, kinbug All rights reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.gitee.kinbug.sniper.common.util;

import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.List;

import com.gitee.kinbug.sniper.common.enums.CandleEnum;

/**
 * -常量类
 * 
 * @ClassName: Const
 * @author kinbug
 * @date 2020-12-2
 */
public class Consts {
	
	//火币api
	public final static String HUOBI_USDT_SWAP_WS_URL = "wss://api.btcgateway.pro/linear-swap-ws";// 合约站行情请求以及订阅地址
	public final static String URL_PREX = "https://api.btcgateway.pro";// 火币交易地址 https://api.hbdm.com

	public final static SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	
	public final static List<CandleEnum> CANDLES = Arrays.asList(CandleEnum.MIN5, CandleEnum.MIN15, CandleEnum.HOUR1, CandleEnum.HOUR4);
}
